home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 13210 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: keats.ugrad.cs.ubc.ca!not-for-mail
  2. From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: segmentation fault
  5. Date: 4 Apr 1996 17:14:58 -0800
  6. Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
  7. Message-ID: <4k1s6iINNaln@keats.ugrad.cs.ubc.ca>
  8. References: <31636B02.55C6@cts.com> <4k04b8$fdp@castle.nando.net>
  9. NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
  10.  
  11. In article <4k04b8$fdp@castle.nando.net>,
  12. Bill McCarthy <actuary@nando.net> wrote:
  13.  >In <31636B02.55C6@cts.com>, Frank Kragh <kragh@cts.com> writes:
  14.  >>When running a program, (which didn't yield any errors during compiling), 
  15.  >>I get a "Segmentation fault".  Anybody know what this is and/or what 
  16.  >>might be wrong with my program?
  17.  >
  18.  >You are propably attempting to access unallocated memory.  Post some
  19.  >complete but short code so we can see.
  20.  
  21. Not necessarily. It could be that someone hacked his account and installed a
  22. program that does a ``kill -SEGV <pid>'', where <pid> is the instantaneous
  23. process ID of his programming project.
  24.  
  25. BTW, not all SEGV signals that are caused by access violations are due to
  26. ``unallocated memory''.
  27. -- 
  28.  
  29.